Crate feo3boy_opcodes

source ·
Expand description

Defines the opcodes for the feo3boy gameboy.

This library is intended to provide the basic opcodes of the gbz80 CPU. Opcodes are defined in terms of a microcode which allows instructions to be broken into smaller steps.

The microcode module supplies the Microcode type, which defines the steps that opcodes can be broken down into.

The opcode module supplies Opcode and CBOpcode which define the actual instructions the GameBoy CPU can execute.

Modules

  • This module provides utilities for analyzing and manipulating sequences of Microcode operations in order to transform opcodes into rust code that executes those opcodes.
  • Types which are used in the gbz80.
  • This module provides the Microcode type, which specifies the sub-steps that Opcodes can be broken down into.
  • Provides the Opcode and CBOpcode types, which define the opcodes available on the gbz80 CPU.

Macros

  • Counts the number of repetitions in a macro invocation. Produces a constant expression.